package multiIntro;

import polyglot.ast.Block;
import polyglot.ast.Node;
import polyglot.ast.NodeFactory;
import polyglot.types.TypeSystem;
import polyglot.visit.NodeVisitor;

importsymbol multiIntro.MethodInvocationEval;

public syntaxclass BlockEval {
	
	@grammar using MethodInvocationEval {
		BlockEval -> b = block;
	}
	
/*
	//Deve ser implementado para visitar os filhos de block
	public Node visitChildren(NodeVisitor v) {
		Block b = (Block) get("b");
		Block newblock = (Block) b.visit(v);
		set("b", newblock);
		return this;
	}
	
	public Node desugar(NodeFactory ft, TypeSystem ts) {
		Block b = (Block) get("b");
		return b;
	}
*/
	
}
